package com.xiashitech.agent.db.entity;

import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
public class UserPermission {

    public static final String TABLE_NAME = "USER_PERMISSION";

    private Long id;

    private String userId;

    private String instanceName;

    private String databaseName;

    private String schemaName;

    private String tabName;

    private String operate;

    private Boolean tabAuth;

    private String tabAuthReason;

    private String colName;

    private Boolean colAuth;

    private String colAuthReason;

    private String status;

    private String userAction;

    private String ext;

    private Date gmtCreate;

    private Date gmtModified;

    private String pushId;

}
